<template>
  <div class="app-container">
    <div class="block">
      <el-slider v-model="value8" show-stops :step="10" :min="10" :max="200" show-input></el-slider>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        value8: [10,200],
      }
    },
    created:()=>{
    }
  }
</script>

<style lang="scss">

  /*两边加减输入框*/
  .el-slider__input {
    float: right;
    margin-top: 3px;
  }

  .el-input-number--small {
    width: 130px;
    line-height: 30px;
  }

  .el-input-number--small .el-input-number__decrease, .el-input-number--small .el-input-number__increase {
    width: 32px;
    font-size: 13px;
  }

  .el-input-number--small .el-input-number__decrease{
    border-left-width: 0px;
  }

  .el-input-number__decrease.is-disabled, .el-input-number__increase.is-disabled {
    color: #b4bccc;
    cursor: not-allowed;
  }

  .el-input-number__decrease {
    left: 1px;
    border-radius: 4px 0 0 4px;
    border-right: 1px solid #d8dce5;
  }

  .el-input-number__decrease, .el-input-number__increase {
    position: absolute;
    z-index: 1;
    top: 1px;
    width: 40px;
    height: auto;
    text-align: center;
    background: #f5f7fa;
    color: #5a5e66;
    cursor: pointer;
    font-size: 13px;
    border-right: 1px solid #d8dce5;
  }
  .el-input>input{
    padding-left: 50px;
    padding-right: 0px !important;
  }
</style>
